<style type="text/css">
    .modal-lg {
        width: 97%;
    }
</style>

<div class="col-sm-12 mt20">
    <div class="panel">
        <div class="panel-body">
            <div class="col-sm-12">
                <div class="row mt10">
                    <div class="col-sm-2">
                        <input type="text" class="form-control" ng-keyup="myKeyup($event)" ng-model="searchform.sys_code" placeholder="订单编号">
                    </div>
                    <div class="col-sm-2">
                        <ui-select ng-model="searchform.sale_belong" theme="bootstrap" ng-keyup="myKeyup($event)" ng-change="change()">
                            <ui-select-match placeholder="产品所属">
                                {{$select.selected.label}}
                            </ui-select-match>
                            <ui-select-choices repeat="item.value as item in sale_belong_arr | filter: $select.search">
                                <span ng-bind-html="item.label | highlight: $select.search"></span>
                            </ui-select-choices>
                        </ui-select>
                    </div>
                    <div class="col-sm-2">
                        <ui-select ng-model="searchform.function_code" theme="bootstrap" ng-keyup="myKeyup($event)">
                            <ui-select-match placeholder="功能编号">
                                {{$select.selected.function_code}}
                            </ui-select-match>
                            <ui-select-choices repeat="item.function_code as item in function_code_arr | filter: $select.search">
                                <span ng-bind-html="item.function_code | highlight: $select.search"></span>
                            </ui-select-choices>
                        </ui-select>
                    </div>
                    <div class="col-sm-2">
                        <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="date.lable" is-open="date.opened" ng-click="dateOpen($event, date)"
                            placeholder="开始时间" ng-required="true" close-text="关闭" current-text="今天" clear-text="清除" readonly/>
                    </div>
                    <div class="col-sm-2">
                        <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="date1.lable" is-open="date1.opened" ng-click="dateOpen1($event, date1)"
                            placeholder="结束时间" ng-required="true" close-text="关闭" current-text="今天" clear-text="清除" readonly/>
                    </div>
                    <div class="col-sm-2 pull-right">
                        <button class="btn btn-block btn-info" ng-click="load()">搜索</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- searchArea -->

    <div class="panel panel-default">
        <div class="panel-body">
            <div class="panel panel-info">
                <!-- <div class="panel-heading" ng-if="objs.order_cart_code">
                    <span>订单编号:&nbsp;{{objs.order_cart_code}}</span><span style="margin-left: 50px;">金额:&nbsp;{{objs.cart_pay_fee}}元</span>
                </div> -->
                    <table class="table table-bordered panel-body">
                        <thead>
                            <tr>
                                <th class="col-md-1 text-center">时间/功能/所属/订单</th>
                                <!-- <th class="col-md-1 text-center">功能编号</th>
                                <th class="col-md-1 text-center">产品所属</th>
                                <th class="col-md-1 text-center">订单编号</th> -->
                                <th class="col-md-1 text-center" id="biao1">请求内容</th>
                                <th class="col-md-1 text-center">返回内容</th>
                                <th class="col-md-1 text-center">请求内容sign</th>
                                <th class="col-md-1 text-center">请求内容sign</th>
                                <!-- <th class="col-md-1 text-center">操作</th> -->
                            </tr>
                        </thead>
                        <tbody>
                            <tr ng-repeat="obj in logList">
                                <td class=""style="word-wrap:break-word;word-break:break-all;">
                                    {{obj.create_time}}
                                    <br />{{obj.function_code}}
                                    <br />{{obj.sale_belong}}
                                    <br />{{obj.sys_code}}
                                </td>
                                <!-- <td class=""style="word-wrap:break-word;word-break:break-all;" ng-bind-html="obj.function_code"></td>
                                <td class=""style="word-wrap:break-word;word-break:break-all;" ng-bind-html="obj.sale_belong"></td>
                                <td class=""style="word-wrap:break-word;word-break:break-all;" ng-bind-html="obj.sys_code"></td> -->
                                <!-- <td class="" style="white-space: pre-wrap" ng-bind="obj.req_content"></td> -->
                                <td class="" style="word-wrap:break-word;word-break:break-all;" ng-bind="obj.req_content"></td>
                                <td class="" style="word-wrap:break-word;word-break:break-all;" ng-bind="obj.res_content"></td>
                                <td class="" style="word-wrap:break-word;word-break:break-all;" ng-bind="obj.req_content_sign"></td>
                                <td class="" style="word-wrap:break-word;word-break:break-all;" ng-bind="obj.res_content_sign"></td>
                                <!-- <th class="text-center">
                                    <a ng-click="ticketlist(obj)" class="btn btn-success btn-xs">票信息</a>
                                    <br>
                                    <a ng-click="orderinfo(obj)" class="btn btn-info btn-xs">订单详情</a>
                                    <br>
                                    <a ng-click="resend(obj)" class="btn btn-danger btn-xs" ng-show="obj.sale_belong != 'juyou' || (obj.ticket_state == '2' && obj.sms_state == '2')">重发短信</a>
                                    <a ng-click="relay(obj)" class="btn btn-warning btn-xs" ng-show="obj.sale_belong != 'juyou' || (obj.ticket_state == '2' && obj.sms_state == '2')">转发短信</a>
                                    <a ng-click="back(obj, '1')" class="btn btn-primary btn-xs" ng-show="(obj.num > obj.back + obj.used) && ((obj.sale_belong != 'langdao' && obj.ticket_state == '2') || obj.ticket_state == '9') ">退多张票</a>
                                </th> -->
                            </tr>
                        </tbody>
                    </table>
            </div>
        </div>
        <div class="text-right" style="background-color: white">
            <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" max-size="maxSize" class="pagination-sm" boundary-links="true"
                ng-change="load()" items-per-page="itemsPerPage" previous-text="上一页" next-text="下一页" first-text="首页" last-text="末页"
                rotate="false">
            </pagination>
        </div>
    </div>
</div>